/**
 * 取件作业管理相关接口
 */
import request from '@/utils/request'

/**
 * 获取取派件列表
 */
export function getDispatchTaskList(data) {
  return request({
    url: '/manager/pickup-dispatch-task-manager/page',
    method: 'POST',
    data: {
      agencyId: data.agencyId,
      assignedStatus: data.assignedStatus,
      id: data.id,
      isDeleted: data.isDeleted,
      maxActualEndTime: data.maxActualEndTime,
      maxEstimatedEndTime: data.maxEstimatedEndTime,
      minActualEndTime: data.minActualEndTime,
      minEstimatedEndTime: data.minEstimatedEndTime,
      orderId: data.orderId,
      page: data.page,
      pageSize: data.pageSize,
      signStatus: data.signStatus,
      status: data.status,
      taskType: data.taskType
    }
  })
}
